package flex.cc.vehicle_svr.service;

import java.util.Map;
import java.util.concurrent.ExecutionException;

import flex.cc.order.manage.dto.vo.OrderMainVo;

/**
 * @author wkangle
 * @className CancelService
 * @description 取消
 * @time 2021-09-06 18:48:40
 */
public interface CancelService {

    /**
     * @description 上游取消
     * @param requestBodyMap 请求体
     * @return
     * @author wkangle
     * @time 2021/09/08 0008 10:50
     * @exception/throws
     */
    String cancelOrder(Map<String, Object> requestBodyMap ) throws ExecutionException, InterruptedException;


    /**
     * @description 下游取消
     * @param requestBodyMap 请求参数
     * @return
     * @author wkangle
     * @time 2021/09/08 0008 13:43
     * @exception/throws
     */
    String cancelRescue(String cancel_rescue_url, Map<String, Object> requestBodyMap);


	String cancelInfo(OrderMainVo orderMain) throws ExecutionException, InterruptedException;

}
